import request from '@/utils/request'

// 查询论坛-动态标签集列表
export function listDynamicLabel(query) {
  return request({
    url: '/forum/dynamicLabel/list',
    method: 'get',
    params: query
  })
}

// 查询论坛-动态标签集详细
export function getDynamicLabel(dynamicId) {
  return request({
    url: '/forum/dynamicLabel/' + dynamicId,
    method: 'get'
  })
}

// 新增论坛-动态标签集
export function addDynamicLabel(data) {
  return request({
    url: '/forum/dynamicLabel',
    method: 'post',
    data: data
  })
}

// 修改论坛-动态标签集
export function updateDynamicLabel(data) {
  return request({
    url: '/forum/dynamicLabel',
    method: 'put',
    data: data
  })
}

// 删除论坛-动态标签集
export function delDynamicLabel(dynamicId) {
  return request({
    url: '/forum/dynamicLabel/' + dynamicId,
    method: 'delete'
  })
}

// 导出论坛-动态标签集
export function exportDynamicLabel(query) {
  return request({
    url: '/forum/dynamicLabel/export',
    method: 'get',
    params: query
  })
}